package com.hezhiqin.formework.beans;

/**
 * @program: homeWork
 * @description: 存储Bean实例的信息
 * @author: hezhiqin
 * @create: 2019-10-28 13:59
 */
public class HZQBeanWrapper {


    private  Object wrappedInstance;


    private  Class<?> wrappedClass;

    public HZQBeanWrapper(Object wrappedInstance) {
        this.wrappedInstance = wrappedInstance;
        wrappedClass = wrappedInstance.getClass();
    }

    public Object getWrappedInstance() {
        return wrappedInstance;
    }

    // 返回代理以后的Class
    // 可能会是这个$Proxy0
    public Class<?> getWrappedClass() {
        return wrappedClass;
    }


}
